package com.study.string;

public class StringBufferTest {

	public static void main(String[] args) {
		
		StringBuffer stringBuffer = new StringBuffer();
		
		stringBuffer.append("abc").append("de");
		
		
		System.out.println(stringBuffer.toString());
		
		String str = "abc";
		str = str + "de";
		System.out.println(str);
		
		StringBuilder stringBuilder = new StringBuilder();
		stringBuilder.append("abc").append("de");
		System.out.println(stringBuilder.toString());
	}
}
